package com.tt.fashionWebSite.dao;

import com.tt.fashionWebSite.domain.ChiTietSanPham;
import com.tt.fashionWebSite.dto.ChiTietSanPhamFullDto;
import com.tt.fashionWebSite.dto.ChiTietSanPhamRuleDto;

import java.util.List;

public interface ChiTietSanPhamDao extends GenericDao<ChiTietSanPham, String> {
    public List<ChiTietSanPham> getAllProductDetail();

    public List<ChiTietSanPhamFullDto> getAllProductDetailByMaSP(String maSP);

    public List<ChiTietSanPhamRuleDto> getDetailProductForRule(String maSP);

    public List<ChiTietSanPham> getDataDetailOfDataCommon(String maSP);

    void deleteProductDetail(String maCTSP);
}
